package com.zhonghui.modlules.product.eshopService;


import com.eshop.service.BaseService;
import com.zhonghui.common.eshopVo.StoreProductQueryVo;
import com.zhonghui.modlules.product.eshopDomain.StoreProduct;
import com.zhonghui.modlules.product.eshopParam.StoreProductQueryParam;

import java.util.List;
import java.util.Map;

public interface StoreProductService extends BaseService<StoreProduct> {
    List<StoreProductQueryVo> getList(int page, int limit, int order);

    Map<String, Object> getGoodsListByPage(StoreProductQueryParam productQueryParam);

    int getProductStock(Long productId, String unique, String type);

    StoreProductQueryVo getStoreProductById(Long id);
}
